#include "mc31xx_hal.h"
#include "MC3172.h"

#include "blb.h"
#include "common.h"
#include "my_uart.h"
#include "test.h"
#include "my_iic.h"

//hal用户初始化，在所有hal线程运行之前执行，由hal库内部调用
void HAL_Main_init(void)
{
    //运行指示灯
    GPIO_InitTypeDef GPIO_Initure;
    GPIO_Initure.Pin = GPIO_PIN_8;
    GPIO_Initure.OutputEn = ENABLE;
    GPIO_Initure.InputEn = DISABLE;
    GPIO_Initure.PullupEn = DISABLE;
    HAL_GPIO_Init(GPIOC, &GPIO_Initure);

    uart0_init();       //串口8用作log打印
    uart9_init();

    //sc_init();
    HAL_MUX_Create(&g_uwLedMuxHandle);
} 
////////////////////////////////////////////////////////////




